home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload Trio 2 / Shareware Overload Trio Volume 2 (Chestnut CD-ROM).ISO / dir31 / sox7p9.zip / INSTALL next >
Text File  |  1993-02-24  |  2KB  |  56 lines

  1.  
  2. SOX: Sound Tools installation
  3.  
  4. May 18, 1992
  5.  
  6. The sox program is just a batch utility that reads & writes
  7. files.  It's very easy to port to new computers.
  8.  
  9. This distribution will compile and run on most Unix systems.
  10. It was developed on a Unix/386 machine running AT&T V.3.2.
  11. It has been ported to many AT&T V.3- and V.4-flavored Unixes,
  12. and many BSD-derived Unixes as well.  It also runs under
  13. DOS with Borland C (version 1.5, probably later too).
  14.  
  15. For Unix, use 'Makefile.unx'.  For Borland C, use
  16. 'Makefile.bor'.  For the Amiga, use 'Makefile.ami'.
  17.  
  18. For V.3 and V.4 Unix, the Makefile should work as is.
  19. For SUN, NeXT, and other Unixes derived from Berkeley Unix,
  20. you'll need to comment out these four lines in the Makefile:
  21.     
  22.     CFLAGS    = $O -DSYSV 
  23.     CC        = cc
  24.     AR        = ar r
  25.     RANLIB    = ar ts
  26.  
  27. and uncomment the following ones:
  28.  
  29.     # CFLAGS    = $O 
  30.     # CC        = cc
  31.     # AR        = ar r
  32.     # RANLIB    = ranlib
  33.  
  34. After successfully compiling SOX, try translating a sound file.
  35. If you can play one of the supported sound file formats,
  36. translate 'monkey.voc' to your format (we'll use 'xxx'):
  37.  
  38.     sox monkey.voc monkey.xxx
  39.  
  40. You may have to give the word size and rate for the file.
  41. For example, this command will make a sound file with a data rate of
  42. 12,500 samples per second and the data formatted as signed shorts:
  43.  
  44.     sox monkey.voc -r 12500 -s -w monkey.xxx 
  45.  
  46. If monkey.xxx plays properly (it's a very short monkey screech),
  47. congratulations!  SOX works.  Now you should run the 'tests.sh'
  48. shell script to exercise various test scenarios.  It should
  49. print nothing out.  You can only run this script under Unix.
  50. It shows alternate uses of the (far too) many options to sox.
  51.  
  52. After testing with a sound file, try compiling sox with the
  53. optimizer (-O instead of -g).  It should run a little faster.
  54.  
  55. Lance Norskog
  56.